package com.jeesite.modules.examine.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.examine.entity.Examine;
import com.jeesite.modules.examine.dao.ExamineDao;

/**
 * 审核记录Service
 * @author Qu
 * @version 2023-12-20
 */
@Service
public class ExamineService extends CrudService<ExamineDao, Examine> {
	
	/**
	 * 获取单条数据
	 * @param examine
	 * @return
	 */
	@Override
	public Examine get(Examine examine) {
		return super.get(examine);
	}
	
	/**
	 * 查询分页数据
	 * @param examine 查询条件
	 * @param examine page 分页对象
	 * @return
	 */
	@Override
	public Page<Examine> findPage(Examine examine) {
		return super.findPage(examine);
	}
	
	/**
	 * 查询列表数据
	 * @param examine
	 * @return
	 */
	@Override
	public List<Examine> findList(Examine examine) {
		return super.findList(examine);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param examine
	 */
	@Override
	@Transactional
	public void save(Examine examine) {
		super.save(examine);
	}
	
	/**
	 * 更新状态
	 * @param examine
	 */
	@Override
	@Transactional
	public void updateStatus(Examine examine) {
		super.updateStatus(examine);
	}
	
	/**
	 * 删除数据
	 * @param examine
	 */
	@Override
	@Transactional
	public void delete(Examine examine) {
		super.delete(examine);
	}
	
}